package com.main.organizationandplatformmanagement.domain.platform.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.main.common.base.base.entity.BaseEntity;
import com.main.organizationandplatformmanagement.domain.organization.entity.Organization;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.autoconfigure.domain.EntityScan;

/**
 * @author Lin 2025/03/12
 * @version 1.0.0
 * 平台组织实体
 */
@TableName("user_identities")
@EqualsAndHashCode(callSuper = true)
@Data
@EntityScan
public class PlatformOrganization extends BaseEntity {
    @TableField(value = "platform_id")
    private Long platformId;
    @TableId(value = "organization_id")
    private Long organizationId;

    private Organization organization;
}
